home *** CD-ROM | disk | FTP | other *** search
- head 1.5;
- branch ;
- access ;
- symbols ;
- locks ; strict;
- comment @ * @;
-
-
- 1.5
- date 92.08.05.13.02.48; author shirriff; state Exp;
- branches ;
- next 1.4;
-
- 1.4
- date 90.07.16.22.51.30; author shirriff; state Exp;
- branches ;
- next 1.3;
-
- 1.3
- date 89.06.23.11.30.33; author rab; state Exp;
- branches ;
- next 1.2;
-
- 1.2
- date 88.06.29.14.58.01; author ouster; state Exp;
- branches ;
- next 1.1;
-
- 1.1
- date 88.06.26.15.10.59; author ouster; state Exp;
- branches ;
- next ;
-
-
- desc
- @@
-
-
- 1.5
- log
- @Added PASSWORD_LEN
- @
- text
- @/*
- * Copyright (c) 1988 The Regents of the University of California.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms are permitted
- * provided that the above copyright notice and this paragraph are
- * duplicated in all such forms and that any documentation,
- * advertising materials, and other materials related to such
- * distribution and use acknowledge that the software was developed
- * by the University of California, Berkeley. The name of the
- * University may not be used to endorse or promote products derived
- * from this software without specific prior written permission.
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
- * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
- * @@(#)pwd.h 4.3 (Berkeley) 2/22/89
- */
-
- #ifndef _PWD
- #define _PWD
-
- #define _PATH_PASSWD "/etc/passwd"
- #define _PATH_MASTERPASSWD "/etc/master.passwd"
- #define _PATH_MKPASSWD "/sprite/cmds.$MACHINE/mkpasswd"
- #define _PATH_PTMP "/etc/ptmp"
-
- #define _PW_KEYBYNAME '0'
- #define _PW_KEYBYUID '1'
-
- #define _PASSWORD_LEN 128 /* max length, not counting NULL */
-
- struct passwd {
- char *pw_name; /* user name */
- char *pw_passwd; /* encrypted password */
- int pw_uid; /* user uid */
- int pw_gid; /* user gid */
- long pw_change; /* password change time */
- char *pw_class; /* user access class */
- char *pw_gecos; /* Honeywell login info */
- char *pw_dir; /* home directory */
- char *pw_shell; /* default shell */
- long pw_expire; /* account expiration */
- };
-
- struct passwd *getpwent(), *getpwuid(), *getpwnam();
- void endpwent(), setpwfile();
- int setpassent(), setpwent();
-
- #endif /* _PWD */
- @
-
-
- 1.4
- log
- @Added shadow password stuff.
- @
- text
- @d31 2
- @
-
-
- 1.3
- log
- @*** empty log message ***
- @
- text
- @d1 18
- a18 3
- /* pwd.h 4.1 83/05/03 */
- /* Taken from 4.3 BSD; cannot be redistributed except to people with
- * proper AT&T source licenses. */
- d23 19
- a41 10
- struct passwd { /* see getpwent(3) */
- char *pw_name;
- char *pw_passwd;
- int pw_uid;
- int pw_gid;
- int pw_quota;
- char *pw_comment;
- char *pw_gecos;
- char *pw_dir;
- char *pw_shell;
- d45 2
- @
-
-
- 1.2
- log
- @Add ifdefs so that file can't be processed twice.
- @
- text
- @d1 1
- a1 1
- /* pwd.h 4.1 83/05/03 */
- d22 1
- a22 1
- #endif _PWD
- @
-
-
- 1.1
- log
- @Initial revision
- @
- text
- @d5 3
- d21 2
- @
-